/**
 * 
 */
package com.honghao.student.pojo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import lombok.Getter;
import lombok.Setter;


/**
 * @author honghao.li
 *
 */
@Setter @Getter
public class BaseEntity implements Serializable{
    
    private static final long serialVersionUID = -6714641842944941382L;
    
    protected List<String> columnNameList;

    public void addColumn(String columnName){
        if(columnNameList == null){
            columnNameList = new ArrayList<String>();
        }
        columnNameList.add(columnName);
    }
}
